package com.suxin;

import com.suxin.domain.AnHuanPoints;
import com.suxin.oci.domain.internet.GasStatisticsData;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Classname App
 * @Description [ TODO ]
 * @Author Tang
 * @Date 2020/12/21 15:25
 * @Created by ASUS
 */
@EnableScheduling
@EnableConfigurationProperties(value = {AnHuanPoints.class, GasStatisticsData.class})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class App {

    public static void main(String[] args) {

        SpringApplication application = new SpringApplication(App.class);
        ConfigurableApplicationContext applicationContext = application.run(args);

    }

}